#ifndef __APP_LIB_UART_CHAN0_HPP__
#define __APP_LIB_UART_CHAN0_HPP__

#define		UART_CHANNEL0_COM_HEAD0					0x12
#define		UART_CHANNEL0_COM_HEAD1					0x34

typedef int (*UART_CMD_HANDLER_FUNC)(UINT8 cmd, UINT8 *data, int size);

typedef struct _UART_CMD_LIST_HANDLE_s_ {
	UINT8 cmd;
	UART_CMD_HANDLER_FUNC func;
} UART_CMD_LIST_HANDLE_s;

void AppLibUart0_SplitPkg(IN UINT8 *pucPacket, IN UINT16 usLen);
void AppLibUart0_HandlePkg(IN UINT8 *pucPacket, IN UINT16 usLen);

#endif